package me.chan.apple;

import java.util.ArrayList;
import java.util.List;

public class AppleCache {

	private static List<Apple> appleList = new ArrayList<>();
	private static String[] colors = new String[]{"red","green","orange","yellow","green","red","green","red","green","red"};
	private static int[] weights = new int[]{50,55,60,55,58,70,62,56,65,68};
	
	static {
		for(int i=0; i < 10; i++) {
			appleList.add(new Apple(colors[i],weights[i]));
		}
		
	}
	
	public static List<Apple> getAppleList() {
		return appleList;
	}
	
	
}
